const program = require('commander');
const helpOptions = () => {
  //增加options option:可选参数
  program.option('-t --test', 'a test cli');
  program.option('-d --dest <dest>', 'a destination folder,例如：-d /src/components')
  program.option('-f --framework <framework>', 'your framework')

  program.on('--help', function () { //监听可选参数
    console.log('Other:');
    console.log('other optopns');
  })
}

module.exports = helpOptions